package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.SensitiveDto;
import com.heima.model.admin.pojo.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface SensitiveService extends IService<AdSensitive> {
//指定类型
    //频道查询,分页
    public ResponseResult findByNameAndPage(SensitiveDto sensitiveDto);


    public ResponseResult insert(AdSensitive adSensitive);

    public ResponseResult update(AdSensitive adSensitive);

    public ResponseResult delete(Integer id);
}
